local extension = Package("rbjtianzi")
extension.extensionName = "rbaijiang"
extension.game_modes_whitelist = { "m_3v3_mode" }
local m_3v3_mode = Fk.game_modes["m_3v3_mode"]
table.insertTable(m_3v3_mode.whitelist, {"rbjtianzi"})

local U = require "packages/utility/utility"

Fk:loadTranslationTable{
  ["rbjtianzi"] = "天子之义",
}

--local caocao = General(extension, "rbj__caocao", "wei", 4)
Fk:loadTranslationTable{
  ["rbj__caocao"] = "曹操",
  ["#rbj__caocao"] = "六合神游",
  ["designer:rbj__caocao"] = "三秋",
  ["illustrator:rbj__caocao"] = "",

  ["rbj__fufu"] = "覆负",
  [":rbj__fufu"] = "一名主将一次获得至少两张牌后，你可以选择一项：1.摸一张牌；2.你令其摸一张牌，其本轮出牌阶段使用【杀】次数上限-1，"..
  "你本轮出牌阶段使用【杀】次数+1。",
}

Fk:loadTranslationTable{
  ["rbj__zhonghui"] = "钟会",
  ["#rbj__zhonghui"] = "云翳蔽空",
  ["designer:rbj__zhonghui"] = "三秋",
  ["illustrator:rbj__zhonghui"] = "",

  ["rbj__zizhi"] = "恣志",
  [":rbj__zizhi"] = "结束阶段，你可以令友方主帅将手牌摸至你的体力值；若其不能如此做，你摸两张牌，本局游戏此技能改为对你发动。",
  ["rbj__duoque"] = "夺阙",
  [":rbj__duoque"] = "每回合限一次，当一名其他角色使用牌指定其自己为目标时，你可以失去1点体力或一个技能，然后此目标转移为你。",
}

Fk:loadTranslationTable{
  ["rbj__wangling"] = "王淩",
  ["#rbj__wangling"] = "云翳蔽空",
  ["designer:rbj__wangling"] = "三秋",
  ["illustrator:rbj__wangling"] = "",

  ["rbj__huonan"] = "惑南",
  [":rbj__huonan"] = "每阶段限一次，一名主将的摸牌阶段开始或结束时，你可以卜算2（观看牌堆顶两张牌，将其中任意张以任意顺序置于牌堆顶，"..
  "其余以任意顺序置于牌堆底）。",
  ["rbj__shuyuan"] = "束渊",
  [":rbj__shuyuan"] = "锁定技，你使用【杀】指定目标后或成为【杀】的目标后，你摸一张牌，然后若你本轮发动此武将牌上技能的次数为偶数次，"..
  "此【杀】不能被响应。",
}

Fk:loadTranslationTable{
  ["rbj__zhongyao"] = "钟繇",
  ["#rbj__zhongyao"] = "洗简成书",
  ["designer:rbj__zhongyao"] = "三秋",
  ["illustrator:rbj__zhongyao"] = "",

  ["rbj__yanhao"] = "烟毫",
  [":rbj__yanhao"] = "当你的黑色牌移动至除弃牌堆以外的区域后，你可以获得弃牌堆中一张未以此法获得过的基本牌。",
  ["rbj__zhuantuan"] = "撰抟",
  [":rbj__zhuantuan"] = "结束阶段，若你使用了所有本回合获得的牌，你可以令主将获得这些牌。",
}

Fk:loadTranslationTable{
  ["rbj__liubei"] = "刘备",
  ["#rbj__liubei"] = "赤龙临凡",
  ["designer:rbj__liubei"] = "三秋",
  ["illustrator:rbj__liubei"] = "",

  ["rbj__peiwang"] = "霈望",
  [":rbj__peiwang"] = "出牌阶段开始前，你可以跳过出牌阶段，改为令友方先锋各摸一张牌；弃牌阶段开始前，你可以令先锋各使用一张红色牌，"..
  "若有角色使用，你跳过弃牌阶段。",
}

Fk:loadTranslationTable{
  ["rbj__machao"] = "马超",
  ["#rbj__machao"] = "驾风撼命",
  ["designer:rbj__machao"] = "三秋",
  ["illustrator:rbj__machao"] = "",

  ["rbj__liting"] = "犁庭",
  [":rbj__liting"] = "锁定技，当你使用【杀】指定唯一目标后，若其上家或下家没有手牌，你令其选择一项：1.其弃置两张手牌；2.其摸两张牌，你对其"..
  "造成1点伤害。",
}

Fk:loadTranslationTable{
  ["rbj__feiyi"] = "费祎",
  ["#rbj__feiyi"] = "镇廷之玉",
  ["designer:rbj__feiyi"] = "三秋",
  ["illustrator:rbj__feiyi"] = "",

  ["rbj__peiwang"] = "衷融",
  [":rbj__peiwang"] = "当一名角色使用牌指定其友方角色为目标后，你可以令其中任意名目标角色重铸任意张【杀】。",
  ["rbj__zhilv"] = "志虑",
  [":rbj__zhilv"] = "出牌阶段，你可以令你本阶段使用【杀】次数上限减至0，视为使用一张【五谷丰登】，此【五谷丰登】亮出的牌数改为你"..
  "本次减少使用【杀】次数上限的两倍。",
}

Fk:loadTranslationTable{
  ["rbj__pangtong"] = "庞统",
  ["#rbj__pangtong"] = "秋蛹语焱",
  ["designer:rbj__pangtong"] = "三秋",
  ["illustrator:rbj__pangtong"] = "",

  ["rbj__jiece"] = "结策",
  [":rbj__jiece"] = "每轮限一次，当友方主帅使用牌后，你可以视为使用一张【过河拆桥】，当本回合下一张牌指定唯一目标后，目标角色获得因此"..
  "【过河拆桥】弃置的牌。",
  ["rbj__manjiang"] = "漫江",
  [":rbj__manjiang"] = "锁定技，攻击范围内包含你/不含你的角色对你造成伤害后，你摸一张牌/弃置一张手牌。",
}

Fk:loadTranslationTable{
  ["rbj__sunquan"] = "孙权",
  ["#rbj__sunquan"] = "轻冠镇江",
  ["designer:rbj__sunquan"] = "三秋",
  ["illustrator:rbj__sunquan"] = "",

  ["rbj__pingsha"] = "平沙",
  [":rbj__pingsha"] = "出牌阶段限一次，你可以令任意名手牌数最少的角色摸共计两张牌，然后令任意名手牌数最多的角色弃置共计两张牌。",
}

Fk:loadTranslationTable{
  ["rbj__zhouyu"] = "周瑜",
  ["#rbj__zhouyu"] = "江左鲤龙",
  ["designer:rbj__zhouyu"] = "三秋",
  ["illustrator:rbj__zhouyu"] = "",

  ["rbj__liqiao"] = "厉鞘",
  [":rbj__liqiao"] = "每回合限一次，摸牌或弃牌阶段结束时，你可以将一张牌当【洞烛先机】使用。",
  ["rbj__jiance"] = "间策",
  [":rbj__jiance"] = "一名前锋的结束阶段，其可以从牌堆底摸一张牌并展示，若为伤害牌，其主将对其使用之。",
}

Fk:loadTranslationTable{
  ["rbj__zhuyi"] = "朱异",
  ["#rbj__zhuyi"] = "南岳之栋",
  ["designer:rbj__zhuyi"] = "三秋",
  ["illustrator:rbj__zhuyi"] = "",

  ["rbj__jixun"] = "机迅",
  [":rbj__jixun"] = "出牌阶段，若你没有手牌，你可以获得两名先锋各一张手牌，若如此做，你视为装备【连弩】，直到这些角色受到伤害。",
}

Fk:loadTranslationTable{
  ["rbj__taishici"] = "太史慈",
  ["#rbj__taishici"] = "青锋赴北",
  ["designer:rbj__taishici"] = "三秋",
  ["illustrator:rbj__taishici"] = "",

  ["rbj__jiaorui"] = "交锐",
  [":rbj__jiaorui"] = "摸牌阶段结束时，你可以视为使用一张【决斗】，你只能打出本阶段获得的牌响应之，若此【决斗】对目标角色造成伤害，你获得敌方"..
  "主将装备区一张牌。",
}

Fk:loadTranslationTable{
  ["rbj__yuanshu"] = "袁术",
  ["#rbj__yuanshu"] = "方命圮族",
  ["designer:rbj__yuanshu"] = "三秋",
  ["illustrator:rbj__yuanshu"] = "",

  ["rbj__jiquan"] = "觊权",
  [":rbj__jiquan"] = "摸牌阶段，你可以放弃摸牌，改为获得双方主将或前锋各一张牌；若不足两张，你下次发动此技能改为获得两张牌，否则你失去1点体力。",
  ["rbj__tiexiang"] = "餮象",
  [":rbj__tiexiang"] = "你获得装备牌后，可以弃置两张牌并使用之，或将一个非锁定技改为锁定技，然后摸两张牌。",
}

Fk:loadTranslationTable{
  ["rbj__gongsunyuan"] = "公孙渊",
  ["#rbj__gongsunyuan"] = "戾徒悬海",
  ["designer:rbj__gongsunyuan"] = "黄泉",
  ["illustrator:rbj__gongsunyuan"] = "",

  ["rbj__bolang"] = "搏浪",
  [":rbj__bolang"] = "当友方角色使用【杀】时，你可以依次执行：横置武将牌令此【杀】不可响应；横置身份牌令此【杀】造成伤害时伤害翻倍。"..
  "孤军：无需执行消耗。",
}

Fk:loadTranslationTable{
  ["rbj__beimihu"] = "卑弥呼",
  ["#rbj__beimihu"] = "天照瀛洲",
  ["designer:rbj__beimihu"] = "三秋",
  ["illustrator:rbj__beimihu"] = "",

  ["rbj__anwei"] = "黯帷",
  [":rbj__anwei"] = "每回合限一次，当一名角色使用黑色锦囊牌时，你可以指定另一名角色为此牌使用者。",
  ["rbj__zongou"] = "纵偶",
  [":rbj__zongou"] = "当你造成或受到伤害后，可以令伤害来源摸一张牌并展示之，本回合结束时，若此牌在弃牌堆中，你从弃牌堆获得之。",
}

Fk:loadTranslationTable{
  ["rbj__zhangjiao"] = "张角",
  ["#rbj__zhangjiao"] = "昊天罔极",
  ["designer:rbj__zhangjiao"] = "三秋",
  ["illustrator:rbj__zhangjiao"] = "",

  ["rbj__tianque"] = "天阙",
  [":rbj__tianque"] = "锁定技，手牌数最多或最少的角色视为拥有〖天命〗；当你对因〖天命〗弃置过♠牌的角色使用伤害牌时，此牌额外结算一次。",
  ["rbj__tianming"] = "天命",
  [":rbj__tianming"] = "当你成为【杀】的目标后，你弃置两张牌（不足则全弃，无牌则不弃），然后摸两张牌；然后若场上体力值唯一最多的角色不为你，"..
  "该角色也如此做。",
}

return extension
